/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.ingsoc2;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author sfreiman
 */
public class VcLstPrincipalExportar implements ActionListener {

    private VcPrincipalView myView;
    private VcPrincipalModel myModel;

    public VcLstPrincipalExportar(VcPrincipalView MV, VcPrincipalModel MM) {
        this.myView = MV;
        this.myModel = MM;
    }

    public void actionPerformed(ActionEvent e) {
//        String txtNombre;
//        String txtPassword;
//
//        txtNombre = this.myView.getTxtUsuario();
//        txtPassword = this.myView.getTxtPassword();
//        if (myModel.validar(txtNombre, txtPassword)) {
//            this.myView.mostrarResultado("valido");
//            this.myView.cerrar();
//        } else {
//            this.myView.mostrarResultado("Usuario o contraseña invalidos");
//        }
   }
}
